﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Farming.Domain
{
    public class AuditFields
    {
        [Required]
        public int CreateById { get; set; }
        [StringLength(50)]
        public string CreateByName { get; set; }
        public DateTime CreateTime { get; set; }
        public int? ModifyById { get; set; }
        [StringLength(50)]
        public string ModifyByName { get; set; }
        public DateTime? ModifyTime { get; set; }
        public bool IsDeleted { get; set; }
        public int? DeleteById { get; set; }
        [StringLength(50)]
        public string DeleteByName { get; set; }
        public DateTime? DeleteTime { get; set; }
    }
}
